package com.plan.car.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "项目的表单对象",description = "项目的表单对象")
@Data
public class ItemDTO {
    @ApiModelProperty(value = "项目id",required = true,example = "1")
    private Long projectId;

    @ApiModelProperty(value = "项目名称",required = true,example = "凤台云桌面项目")
    private String name;

    @ApiModelProperty(value = "项目类型",required = true,example = "云桌面")
    private String businessType;

    @ApiModelProperty(value = "业务号码",required = true,example = "YZM112233445566")
    private String businessNumber;

    @ApiModelProperty(value = "项目负责人工号",required = true,example = "71101284")
    private String username;

    @ApiModelProperty(value = "所属部门id",required = true,example = "3")
    private Long deptId;

    @ApiModelProperty(value = "项目开始时间",required = true,example = "2024-04-26 08:06:08.776000")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "项目结束时间",required = true,example = "2024-04-26 20:06:08.776000")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


}
